package com.uci.photogam;

import android.content.Context;
import android.graphics.Color;
import android.util.Log;
import android.widget.Toast;

public final class V {
	private V() {
		// AVOID INSTANTIATING OF THIS CLASS
	}

	public static final String APP = "PhotoGam";
	public static final String PREFERENCE = "preference";
	public static final String PREFERENCE_USER = "preference_user";
	public static final int TOAST_DURATION = 2000;

	// IMAGE EDITING USE
	public static final String COLOR = "color";
	public static final String STROKE = "stroke";
	public static final String STROKE_WIDTH = "strokeWidth";
	public static final String PEN_TYPE = "pen";
	public static final String PEN_NORMAL = "normal";
	public static final String PEN_EMBOSS = "emboss";
	public static final String PEN_BLUR = "blur";
	
	public static final int COLOR_DEFAULT = Color.BLACK;
	public static final int STROKE_DEFAULT = 6;
	public static final String PEN_DEFAULT = PEN_NORMAL;
	

	public static final int IO_BUFFER_SIZE = 4 * 1024;
	public static final String INTENT_DATA = "intent_data";
	public static final String IMAGE_PATH = "image_data";
	public static final String TAKEN_PICTURE = "taken_picture";
	public static final String IMAGE_FILE = "image_file";

	public static final int REQ_CODE_PICK_PICTURE_FB = 200; // facebook?
	public static final int REQ_SHARE_FB = 201;
	

	/* Purpose is to avoid excessive Toasting and Debug for Activities */
	public static void toastMessage(Context context, String message) {
		Toast.makeText(context, message, V.TOAST_DURATION).show();
	}

	public static void Log(String TAG, String message) {
		Log.i(TAG, message);
	}
}
